Skip to main content
Feedback

JSON Schema And Payload Size Validation Policy

Description

  • The policy blocks incoming RESTful API requests that fail schema validation against the given JSON schema.

  • The policy also blocks incoming API requests based on the configured max_payload_size. If the incoming request payload exceeds the configured payload-max-size, the API request is blocked, and the policy returns an error message.

  • The policy validates JSON response against the JSON schema, and if it fails, it blocks the response and responds with an error message.

  • The policy also blocks responses from the backend based on max_payload_size. If the response payload exceeds the configured payload-max-size, the policy returns an error message.

  • Supports pre-processing of API request and post-processing of backend server response.

On this Page